package models

import (
	"bolg_admin/pkg/utils"
)

// BaseModel 模型基类
type BaseModel struct {
	ID uint64 `gorm:"column:id;primaryKey;autoIncrement;not null" json:"id"`

	CreatedAt utils.Time `gorm:"column:created_at;index" json:"created_at"`
	UpdatedAt utils.Time `gorm:"column:updated_at;index" json:"updated_at"`
}
